package com.amumu.drama.common.utils;

import java.math.BigDecimal;

/**
 * @author sunzhuang
 * @date 2024/10/24 21:43
 * @slogan 天下风云出我辈, 一入代码岁月催
 * @desc
 */

public class NumUtils {

    public static boolean compareGe(BigDecimal costPrice, BigDecimal manualOrderAmount) {
        if (costPrice == null || manualOrderAmount == null) {
            return false;
        }
        return costPrice.compareTo(manualOrderAmount) >= 0;
    }
}
